Add some docs. (#330073, Mart Rautsepp)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Feb 2006 19:45:14 +0000 (19:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 10 Feb 2006 19:45:14 +0000 (19:45 +0000)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkstyle.c

index 0e1bbd6ebdc1a1002501dea4624a6e45fd3444cc..82b761dac3a2e6e089d0624946c720b345c603ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
 
+        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)
+
        * gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected): 
        Guard against NULL.  (#330177, Raphael Slinckx)
 
index 0e1bbd6ebdc1a1002501dea4624a6e45fd3444cc..82b761dac3a2e6e089d0624946c720b345c603ba 100644 (file)
@@ -1,5 +1,7 @@
 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
 
+        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)
+
        * gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected): 
        Guard against NULL.  (#330177, Raphael Slinckx)
 
index 074e30a0697650b2043f6d7dbdfc2113ff426889..0b32173ce35175ea3c5c3a6646d24fa562316a58 100644 (file)
@@ -6260,6 +6260,25 @@ gtk_paint_focus (GtkStyle      *style,
   GTK_STYLE_GET_CLASS (style)->draw_focus (style, window, state_type, area, widget, detail, x, y, width, height);
 }
 
+/**
+ * gtk_paint_slider:
+ * @style: a #GtkStyle
+ * @window: a #GdkWindow
+ * @state_type: a state
+ * @shadow_type: a shadow
+ * @area: clip rectangle, or %NULL if the
+ *        output should not be clipped
+ * @widget: the widget (may be %NULL)
+ * @detail: a style detail (may be %NULL)
+ * @x: the x origin of the rectangle in which to draw a slider
+ * @y: the y origin of the rectangle in which to draw a slider
+ * @width: the width of the rectangle in which to draw a slider
+ * @height: the height of the rectangle in which to draw a slider
+ * @orientation: the orientation to be used
+ *
+ * Draws a slider in the given rectangle on @window using the
+ * given style and orientation.
+ **/
 void
 gtk_paint_slider (GtkStyle      *style,
                   GdkWindow     *window,
@@ -6364,11 +6383,28 @@ gtk_paint_expander (GtkStyle        *style,
                                               widget, detail, x, y, expander_style);
 }
 
+/**
+ * gtk_paint_layout:
+ * @style: a #GtkStyle
+ * @window: a #GdkWindow
+ * @state_type: a state
+ * @use_text: whether to use the text or foreground
+ *            graphics context of @style
+ * @area: clip rectangle, or %NULL if the
+ *        output should not be clipped
+ * @widget: the widget (may be %NULL)
+ * @detail: a style detail (may be %NULL)
+ * @x: x origin
+ * @y: y origin
+ * @layout: the layout to draw
+ * 
+ * Draws a layout on @window using the given parameters.
+ **/
 void
 gtk_paint_layout (GtkStyle        *style,
                   GdkWindow       *window,
                   GtkStateType     state_type,
-                 gboolean         use_text,
+                  gboolean         use_text,
                   GdkRectangle    *area,
                   GtkWidget       *widget,
                   const gchar     *detail,